/**
 * @Description:
 * @Author: saqqdy
 * @LastEditors: saqqdy
 * @Date: 2021-07-18 21:13:05
 * @LastEditTime: 2021-07-18 21:14:34
 */
import { push } from 'react-router-redux'

export const login = ({ payload }) => dispatch => {
    //模拟登陆，异步请求后执行跳转跳转
    setTimeout(() => {
        dispatch(push('/home'))
    }, 1000)
}
